package com.pzr.soccer.service;

import com.pzr.soccer.model.LoginOrRegistryForm;
import com.pzr.soccer.model.LoginResult;

import javax.servlet.http.HttpServletRequest;

public interface LoginAndRegistryService {

	LoginResult login(LoginOrRegistryForm form);

	/**
	 *
	 * @param
	 * @return
	 */
	LoginResult reLogin(String username);

	boolean registry(LoginOrRegistryForm form);
    boolean logout(HttpServletRequest request);
}
